<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/31
  Time: 14:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户查询</title>
</head>
<body>
<script type="text/javascript">
    function action() {
        var x=document.forms["myform"]["id"].value;
        if (x==null||x==""||y==""||y==null){
            alert("id号不能为空");
            return false;
        }
        else
            return true;
    }

</script>
<form name="myform" action="Select1.jsp" method="post" onsubmit="return ation()">
    id:<input type="text" name="id" placeholder="请输入查询的id号"></br>
    <input type="submit" value="查询">
</form>
</body>
</html>
